x86/time: fold recurring code
authorJan Beulich <jbeulich@suse.com>
Thu, 4 Aug 2016 08:04:29 +0000 (10:04 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 4 Aug 2016 08:04:29 +0000 (10:04 +0200)
commit6dd04c7579dddb88fd0131ed5eb6fc636095f36c
treef122985c03dcc2d79325f441525d1aa8bb5dabb6
parent2e4c6154d4809c5066a63e30c64c3018665bb975
x86/time: fold recurring code

Common code between time_calibration_{std,tsc}_rendezvous() can better
live in a single place, eliminating the risk of adjusting one without
the other.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Tested-by: Dario Faggioli <dario.faggioli@citrix.com>
Tested-by: Joao Martins <joao.m.martins@oracle.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/time.c